<div class="bar">
    <a id="new" class="button" href="javascript:void(0);">Nuevo Alumno</a>
</div>
<table>
    <thead>
        <tr>
             <th>Id</th>
            <th>Nombre</th>
            <th>Apellidos</th>
            <th>Matricula</th>
            <th>Institucion</th>
            <th>Dependencia</th>
            <th>F_nac</th>
            <th>F_ingr</th>
            <th>Correo</th>
            <th>Inf_adic</th>
            <th>Editar</th>
            <th>Borrar</th>
            
        </tr>
    </thead>
    <tbody>
        <?php foreach ($view->clientes as $cliente):  // uso la otra sintaxis de php para templates ?>
            <tr>
                <td><?php echo $cliente['id'];?></td>
                <td><?php echo $cliente['nombre'];?></td>
                <td><?php echo $cliente['apellidos'];?></td>
                <td><?php echo $cliente['matricula'];?></td>
                <td><?php echo $cliente['institucion'];?></td>
                 <td><?php echo $cliente['dependencia'];?></td>
                <td><?php echo $cliente['f_nacimiento'];?></td>
                <td><?php echo $cliente['f_ingreso'];?></td>
                <td><?php echo $cliente['correo'];?></td>
                <td><?php echo $cliente['info_adicional'];?></td>
                <td><a class="edit" href="javascript:void(0);" data-id="<?php echo $cliente['id'];?>">Editar</a></td>
                <td><a class="delete" href="javascript:void(0);" data-id="<?php echo $cliente['id'];?>">Borrar</a></td>
            </tr>
        <?php endforeach; ?>
    </tbody>
</table>

